package com.kaili.basic.pojo.entity;

/**
 * Created by xxx on 2019-03-07.
 */

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author xxx
 * @Copyright: Copyright (c) 2017
 * @Company: 杭州凯立通信有限公司
 */

@Data
@TableName("wms_outbound_return")
@ApiModel(description = "出库退货主表")
public class OutboundReturn extends CommonVo implements Serializable {
    private static final long serialVersionUID = -755621516887871688L;

    @ApiModelProperty(name = "returnId", value = "主键id")
    @TableId(type = IdType.AUTO)
    private Long returnId;

    @ApiModelProperty(name = "requestCode", value = "出库申请单")
    private String requestCode;

    @ApiModelProperty(name = "returnOdd", value = "退货单号")
    private String returnOdd;

    @ApiModelProperty(name = "documentationDate", value = "制单日期")
    private Date documentationDate;

    @ApiModelProperty(name = "preparedBy", value = "制单人")
    private String preparedBy;

    @ApiModelProperty(name = "returnDate", value = "退货日期")
    private Date returnDate;

    @ApiModelProperty(name = "supplierId", value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(name = "supplierCode", value = "供应商编号")
    private String supplierCode;

    @ApiModelProperty(name = "supplierName", value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;

    @ApiModelProperty(name = "customerCode", value = "客户编号")
    private String customerCode;

    @ApiModelProperty(name = "customerName", value = "客户名称")
    private String customerName;

    @ApiModelProperty(name = "linkman", value = "联系人")
    private String linkman;

    @ApiModelProperty(name = "phone", value = "电话")
    private String phone;

    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    @ApiModelProperty(name = "orderStatus", value = "订单状态 1 创建订单 2 订单确认 3 订单取消")
    private Integer orderStatus;

    @ApiModelProperty(name = "preFinishTime", value = "预完成时间")
    private Date preFinishTime;

    @ApiModelProperty(name = "finishTime", value = "完成时间")
    private Date finishTime;

    @ApiModelProperty(name = "createBy", value = "创建人")
    private Long createBy;

    @ApiModelProperty(name = "createTime", value = "创建日期")
    private Date createTime;

    @ApiModelProperty(name = "modifyBy", value = "最后修改人")
    private Long modifyBy;

    @ApiModelProperty(name = "modifyTime", value = "最后修改时间")
    private Date modifyTime;

    @ApiModelProperty(name = "rdStatus", value = "数据状态 0删除 1正常")
    private Integer rdStatus;

    @ApiModelProperty(name = "outboundReturnProductList", value = "出库退货产品")
    private List<OutboundReturnProduct> outboundReturnProductList;

    @ApiModelProperty(name = "orderStatusName", value = "订单状态名称")
    private String orderStatusName;

    @ApiModelProperty(name = "mainSonFlag", value = "主表和子表的标志 1 主表 2 子表")
    private Integer mainSonFlag;

    @ApiModelProperty(name = "quantity", value = "退货数量")
    private Long quantity;

    @ApiModelProperty(name = "totalMoney", value = "总金额")
    private Double totalMoney;

    public Long getReturnId() {
        return returnId;
    }

    public void setReturnId(Long returnId) {
        this.returnId = returnId;
    }

    public String getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(String requestCode) {
        this.requestCode = requestCode;
    }

    public String getReturnOdd() {
        return returnOdd;
    }

    public void setReturnOdd(String returnOdd) {
        this.returnOdd = returnOdd;
    }

    public Date getDocumentationDate() {
        return documentationDate;
    }

    public void setDocumentationDate(Date documentationDate) {
        this.documentationDate = documentationDate;
    }

    public String getPreparedBy() {
        return preparedBy;
    }

    public void setPreparedBy(String preparedBy) {
        this.preparedBy = preparedBy;
    }

    public Date getReturnDate() {
        return returnDate;
    }

    public void setReturnDate(Date returnDate) {
        this.returnDate = returnDate;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getPreFinishTime() {
        return preFinishTime;
    }

    public void setPreFinishTime(Date preFinishTime) {
        this.preFinishTime = preFinishTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public List<OutboundReturnProduct> getOutboundReturnProductList() {
        return outboundReturnProductList;
    }

    public void setOutboundReturnProductList(List<OutboundReturnProduct> outboundReturnProductList) {
        this.outboundReturnProductList = outboundReturnProductList;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public Integer getMainSonFlag() {
        return mainSonFlag;
    }

    public void setMainSonFlag(Integer mainSonFlag) {
        this.mainSonFlag = mainSonFlag;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }
}
